import React from "react";
import "./App.css";
import { Redirect, Route } from "react-router-dom";
import Login from "@/views/Login";
import Admin from "@/views/Admin/Layout";

function App() {
  return (
    <>
      <Redirect from="/" to="/Login" />
      <Route path="/Login" component={Login} />
      <Route path="/Admin" component={Admin} />
    </>
  );
}

export default App;
